<?php
#header("Content-Type: text/html; charset=UTF-8");

/**
* Initialisierungsdatei f�r die Artekenntnis API Erweiterung.
*
* @file
* @ingroup AkAPI
* @author pixilab.
*/

# Not a valid entry point, skip unless MEDIAWIKI is defined
if ( !defined( 'MEDIAWIKI' ) ) {
	die( 'Not an entry point.' );
}

# Extension credits for specialpage
define( 'AKAPI_VERSION', '1.0' );
$akapidir = dirname( __FILE__ );
include_once( "$akapidir/api/AkAPI.php" );

global $wgExtensionCredits;

$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array(
	'path' => __FILE__,
	'name' => 'AkAPI',
	'version' => AKAPI_VERSION,
	'author' => array( '[http://www.mediawiki.org/wiki/User:Pixilab Pixilab]' ),
	'url' => 'http://www.mediawiki.org/wiki/Extension:SMWAskAPI',
	'description' => 'API for semantic search.'
);